<?php /* Smarty version 2.6.18, created on 2016-11-30 18:25:24
         compiled from achieve/m.achieve.info.tpl.php */ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
<title>教务处-教学成果详情</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
  <div class="container-fluid">
  
        <div class="navbar-header" style=" width:100%;">
                  <a class="navbar-brand" href="javascript:history.go(-1);"  style=" width:100%;  padding-right:0px;">
                  
                   <span class="glyphicon glyphicon-arrow-left white"></span>
               <!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>-->
                   <span class="white" style="margin-left:10%">教学成果-查看</span>
                   <span class="glyphicon glyphicon-user white" style="float:right"></span>
                 
                 
                  </a>
          
        
        </div>

   
  
  </div><!-- /.container-fluid -->
</nav>
<!--头部 end-->
<!--主体部分-->
<div class="container" style="margin-top:70px;">
     <div class="row row_margin">
     <table class="table table-bordered  text-center">
        <tr>
           <td>获奖名称</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_name']; ?>
</td>        
        </tr>
		<?php if ($this->_tpl_vars['type'] == 6): ?>
         <tr>
           <td>出版社</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_publish']; ?>
</td>        
        </tr>
        
        <tr>
           <td>书号</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_bookno']; ?>
</td>        
        </tr>
        <tr>
           <td>所在页</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_page']; ?>
</td>        
        </tr>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['type'] != 6): ?>
        <tr>
           <td>主办单位</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_unit']; ?>
</td>        
        </tr>
		<?php if ($this->_tpl_vars['type'] != 7): ?>
        <tr>
           <td>获奖名次</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_rank']; ?>
</td>        
        </tr>
		<?php else: ?>
        <tr>
           <td>第一指导老师：</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_teach']; ?>
</td>        
        </tr>
        <tr>
           <td>本人名次</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_trank']; ?>
</td>        
        </tr>
		<?php endif; ?>
        <?php endif; ?>
		<tr>
           <td>获奖级别</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_lv']; ?>
</td>        
        </tr>
		<tr>
           <td><?php if ($this->_tpl_vars['type'] == 6): ?>发表者<?php else: ?>获奖人<?php endif; ?></td>
           <td><?php echo $this->_tpl_vars['data']['achieve_owner']; ?>
</td>        
        </tr>
		<tr>
           <td><?php if ($this->_tpl_vars['type'] == 6): ?>发表日期<?php else: ?>获奖日期<?php endif; ?></td>
           <td><?php echo $this->_tpl_vars['data']['achieve_time']; ?>
</td>        
        </tr>
		<?php if ($this->_tpl_vars['type'] == 5): ?>
		<tr>
           <td>第一指导老师</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_teach']; ?>
</td>        
        </tr>
		<tr>
           <td>其他指导老师</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_teachers']; ?>
</td>        
        </tr>
		<?php endif; ?>
		<tr>
           <td>备注</td>
           <td><?php echo $this->_tpl_vars['data']['achieve_remark']; ?>
</td>        
        </tr>
		<tr>
           <td>附件：</td>
           <td>
				<a href="index.php?a=achieve.file&achieve_id=<?php echo $this->_tpl_vars['data']['achieve_id']; ?>
&fname=<?php echo $this->_tpl_vars['data']['achieve_file']; ?>
">查看附件</a>
		   </td>        
        </tr>
     </table>
   
     </div><!--row  end-->
        
      <!--  <div class="row row_margin" > 
        <button type="button" class="btn btn-primary btn-lg btn-block btn-primary2">确定</button>
        </div>-->
</div><!--container  end-->
<!--主体部分  end-->
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script>
    $(function() {
        $( "#datepicker" ).datepicker({
            showOtherMonths: true,
            selectOtherMonths: true,
            changeMonth: true,
            changeYear: true,
            yearRange:"1930:2010"
        });
        $( "#datepicker1" ).datepicker({
            showOtherMonths: true,
            selectOtherMonths: true,
            changeMonth: true,
            changeYear: true
        });
        $( "#datepicker2" ).datepicker({
            showOtherMonths: true,
            selectOtherMonths: true,
            changeMonth: true,
            changeYear: true
        });
        $( "#datepicker3" ).datepicker({
            showOtherMonths: true,
            selectOtherMonths: true,
            changeMonth: true,
            changeYear: true
        });
    });
    //上传图片
    $(function(){
        var imgurl=[];
        function createfile(){
            $('#updiv').append("<input type='file'  name='photos' class='upfile'>");
        }
        function showimg(url){
            var img='<img src="'+url+'"/>';
            $('#imglist').append(img);
        }
        function addfile(){
            showimg($(this).val());
            $(this).hide();
            createfile();
            $('.upfile').bind('change',addfile);
        }
        $('.upfile').bind('change',addfile);
    })
</script>